#ifndef __QYQ_ARITHMETIC_TIME_H_
#define __QYQ_ARITHMETIC_TIME_H_
#include "chip_include.h"
#ifndef __QYQ_ARITHMETIC_TIME_C_
#define QYQ_ARITHMETIC_TIME_EXT extern
#else
#define QYQ_ARITHMETIC_TIME_EXT
#endif

QYQ_ARITHMETIC_TIME_EXT uint8_t qyq_arithmetic_time_leapyear(int32_t year);
QYQ_ARITHMETIC_TIME_EXT uint8_t qyq_arithmetic_time_week(int32_t year, int32_t month, int32_t day);
QYQ_ARITHMETIC_TIME_EXT uint16_t qyq_arithmetic_time_yearday(int32_t year, int32_t month, int32_t day);
#endif